package siyuan.run.nacos.consumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @program: sy
 * @description:
 * @author: SY
 * @create: 2020-12-20 00:27
 **/
@FeignClient(name = "nacos-provider")
public interface NacosFeignClient {

    @GetMapping("/hello/{string}")
    String echo(@PathVariable String string);

}
